//
//  SlideViewController.m
//  WWXELuShang
//
//  Created by lanou on 15/12/23.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "SlideViewController.h"
#import "SlideView.h"

@interface SlideViewController ()

@property (nonatomic, strong)SlideView *slideView;

@end

@implementation SlideViewController

- (SlideView *)slideView {
    if (!_slideView) {
        _slideView = [[SlideView alloc]initWithFrame:CGRectMake(0, kHeight, kWidth, kHeight / 5 * 2) target:self];
    }
    
    return _slideView;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor clearColor];

    [self.view addSubview:self.slideView];
    
//    [self.slideView changeSlideView];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
